Explicitly declare internal reserved bits in GdkModifierType
authorColin Walters <walters@verbum.org>
Tue, 16 Nov 2010 15:58:58 +0000 (10:58 -0500)
committerColin Walters <walters@verbum.org>
Mon, 16 May 2011 16:35:40 +0000 (12:35 -0400)
commit7bc2f539d06db170f54d089302952ce8046acdea
tree413fe36e8f24d2344feba49a8450aa1881425566
parent931e8e38efc0c41a7eb7b4227e29b59350b5b71f
Explicitly declare internal reserved bits in GdkModifierType

XKB and GDK both add "internal" bits to GdkModifierType.  In C,
this typically doesn't cause problems as bitfields are just integers,
and there's no validation.  However for bindings, it's normal to
convert enumerations to "native" enumeration types, which don't
support unknown bits.  See bug 597292.

https://bugzilla.gnome.org/show_bug.cgi?id=634994
gdk/gdktypes.h